public class Controls {
	Gui gui;
	String[] ings;
	String[] req;
	String[] ava;
	public Controls(Gui gui) {
		this.gui = gui;
	}

	public  fetchIngredients(String str){
		if(str.equals("Nut ring")){
			ings[0] = "Flour";
			ings[1] = "Butter";
			ings[2]= "Icing-sugar";
			ings[3]= "Roasted, chopped nuts";
			
			req[0] = "450";
			req[1] = "450";
			req[2] = "190";
			req[3]="225";
			
			ava[0]="50000";
			ava[1]="50000";
			ava[2]="50000";
			ava[3]="50000";
			
		}else if (str.equals("Nut Cookie")){
			ings[0] = "Fine-ground nuts";
			ings[1] = "Ground, roasted nuts";
			ings[2]= "Bread crumbs";
			ings[3]= "Sugar";
			ings[4]= "Egg whites";
			ings[5]= "Chocolate";
			
			req[0] = "750";
			req[1] = "625";
			req[2] = "125";
			req[3]="375";
			req[4]="300";
			req[5]="50";
			
			ava[0]="40000";
			ava[1]="60000";
			ava[2]="70000";
			ava[3]="80000";
			ava[4]="80000";
			ava[5]="80000";
		}
	}
}
